package com.alingrad.android.froyoengine.util;

import javax.microedition.khronos.opengles.GL10;

import com.alingrad.android.froyoengine.tree.TreeNode;

public abstract class TreeObjectPool<E extends TreeNode> extends ObjectPool<E> {
	
	public TreeObjectPool() {
		super();
	}
	
	public TreeObjectPool(int capacity) {
		super(capacity);
	}

	public void load(GL10 gl) {
		for (int i = 0; i < mObjects.size(); i++)
			mObjects.get(i).load(gl);
	}
}
